import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;


public class TestP {

	public static void main(String[] args) {
		InputStream inputStream = TestP.class.getClassLoader()
		.getResourceAsStream("kaifangfuwu.properties");
	Properties p = new Properties();
	try {
	p.load(inputStream);
	} catch (IOException e1) {
	e1.printStackTrace();
	}

	System.out.println("aa" + p.getProperty("qq.appid"));
	}

}
